#include <stdio.h>

int main()
{
	float f=3.14;
	float d=2.54;
	float sum=0.0;

	sum = f + d;

	//printf("%f\n", sum);
}

#if 0

/*
 * intel
 */
0000000000001129 <main>:
    1129:	f3 0f 1e fa          	endbr64 
    112d:	55                   	push   %rbp
    112e:	48 89 e5             	mov    %rsp,%rbp
    1131:	f3 0f 10 05 cb 0e 00 	movss  0xecb(%rip),%xmm0        # 2004 <_IO_stdin_used+0x4>
    1138:	00 
    1139:	f3 0f 11 45 f4       	movss  %xmm0,-0xc(%rbp)			// rbp-0xc=3.14
    113e:	f3 0f 10 05 c2 0e 00 	movss  0xec2(%rip),%xmm0        # 2008 <_IO_stdin_used+0x8>
    1145:	00 
    1146:	f3 0f 11 45 f8       	movss  %xmm0,-0x8(%rbp)			// rbp-0x8=2.54
    114b:	66 0f ef c0          	pxor   %xmm0,%xmm0				// xmm0=0
    114f:	f3 0f 11 45 fc       	movss  %xmm0,-0x4(%rbp)			// rbp-0x4=xmm0=0.0
    1154:	f3 0f 10 45 f4       	movss  -0xc(%rbp),%xmm0			// xmm0=rbp-0xc=3.14
    1159:	f3 0f 58 45 f8       	addss  -0x8(%rbp),%xmm0			// xmm0+=rbp-0x8=3.14+2.54
    115e:	f3 0f 11 45 fc       	movss  %xmm0,-0x4(%rbp)			// rbp-0x4=xmm0
    1163:	b8 00 00 00 00       	mov    $0x0,%eax
    1168:	5d                   	pop    %rbp
    1169:	c3                   	retq   
    116a:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)

  [14] .text             PROGBITS         0000000000001040  00001040
       00000000000001a5  0000000000000000  AX       0     0     16
  [15] .fini             PROGBITS         00000000000011e8  000011e8
       000000000000000d  0000000000000000  AX       0     0     4
  [16] .rodata           PROGBITS         0000000000002000  00002000
       000000000000000c  0000000000000000   A       0     0     4
  [17] .eh_frame_hdr     PROGBITS         000000000000200c  0000200c	// note
       000000000000003c  0000000000000000   A       0     0     4

/*
 * arm
 */
000000000040051c <main>:
  40051c:	d10043ff 	sub	sp, sp, #0x10
  400520:	529eb860 	mov	w0, #0xf5c3                	// #62915
  400524:	72a80900 	movk	w0, #0x4048, lsl #16
  400528:	1e270000 	fmov	s0, w0
  40052c:	bd000fe0 	str	s0, [sp, #12]
  400530:	5291eb80 	mov	w0, #0x8f5c                	// #36700
  400534:	72a80440 	movk	w0, #0x4022, lsl #16
  400538:	1e270000 	fmov	s0, w0
  40053c:	bd000be0 	str	s0, [sp, #8]
  400540:	b90007ff 	str	wzr, [sp, #4]
  400544:	bd400fe1 	ldr	s1, [sp, #12]
  400548:	bd400be0 	ldr	s0, [sp, #8]
  40054c:	1e202820 	fadd	s0, s1, s0
  400550:	bd0007e0 	str	s0, [sp, #4]
  400554:	52800000 	mov	w0, #0x0                   	// #0
  400558:	910043ff 	add	sp, sp, #0x10
  40055c:	d65f03c0 	ret

#endif
